package com.example.Holo.uiactivities.fragments;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import com.example.Holo.uiactivities.fragments.data.WorkingData;

public abstract class BaseFragment extends Fragment {

    protected FragmentActivity activity;

    protected static WorkingData data = new WorkingData();

    public abstract String getFragmentTitle();

    public abstract int getActivityMenuResource();

    public void onFragmentIsOnFocus() {}

    @Override
    public void onActivityCreated(Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
        activity = getActivity();
    }
}
